package com.esyoga.yoyoga.mapper;

import com.esyoga.yoyoga.pojo.TAttention;
import com.esyoga.yoyoga.pojo.TAttentionExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TAttentionMapper {
    long countByExample(TAttentionExample example);

    int deleteByExample(TAttentionExample example);

    int deleteByPrimaryKey(Integer aId);

    int insert(TAttention record);

    int insertSelective(TAttention record);

    List<TAttention> selectByExample(TAttentionExample example);

    TAttention selectByPrimaryKey(Integer aId);

    int updateByExampleSelective(@Param("record") TAttention record, @Param("example") TAttentionExample example);

    int updateByExample(@Param("record") TAttention record, @Param("example") TAttentionExample example);

    int updateByPrimaryKeySelective(TAttention record);

    int updateByPrimaryKey(TAttention record);
}